package com.woniuxy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.entity.Movie;
import com.woniuxy.utils.PageBean;

import java.util.List;

public interface MovieService extends IService<Movie> {

    List<Movie> ByNew(int new_category);

    PageBean<Movie> ByCategoryId(Integer categoryId, int p ,int n);

    PageBean<Movie> all(Integer p,int n);

    List<Movie> ByRunk();
}
